﻿<%@ Page Title="Role Selection" Language="C#" MasterPageFile="~/admin.master"
    AutoEventWireup="true" Inherits="MediaMonitor.Admin.SetUserAsAdminstrator" Theme="default"
    CodeBehind="SetUserAsAdminstrator.aspx.cs" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
 
        <script src="../rad-scripts/rad.js" type="text/javascript"></script>
    </telerik:RadCodeBlock>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="Server">
    <%-- <telerik:RadAjaxPanel ID="radPanel" runat="server" RestoreOriginalRenderDelegate="false">--%>
    
      <telerik:RadGrid ID="radGridAll" runat="server" AllowFilteringByColumn="True" AllowPaging="True"
                AllowSorting="True" GridLines="None" Skin="Hay" OnNeedDataSource="radGridAll_NeedDataSource"
        Width="100%" AutoGenerateColumns="false" GroupingSettings-CaseSensitive="false"
                PageSize="15"  AllowMultiRowSelection="false" >
        <MasterTableView Name="ReportAll" ItemStyle-BorderWidth="1" DataKeyNames="UserID">
            <AlternatingItemStyle Font-Size="Small" />
            <ItemStyle Font-Size="Small" />
            <Columns>
             <telerik:GridClientSelectColumn ButtonType="LinkButton" Text="Select" ItemStyle-Width="20%" />
                  <telerik:GridBoundColumn AutoPostBackOnFilter="true" DataField="UserName" HeaderText="Login Name" />
               
           
             
            </Columns>
        </MasterTableView>
         <ClientSettings>
                    <Scrolling AllowScroll="false" />
                       <Selecting AllowRowSelect="true" /> 
                    <ClientEvents OnFilterMenuShowing="filterMenuShowing" />
                </ClientSettings>
                  <FilterMenu OnClientShowing="MenuShowing" />
    </telerik:RadGrid>
    <br />
      <table>
      <tr>
      <td>
      Select Role:
      </td>
      <td>
      <asp:DropDownList ID="ddlRoles" runat="server" >
 
      </asp:DropDownList>
      </td>
      </tr>
      <tr>
      <td></td>
      <td>
       <asp:ImageButton ID="imgbtnSave" runat="server" SkinID="Save" OnClick="imgbtnSave_click" />
      </td>
      </tr>
      </table>
      
  <%--  </telerik:RadAjaxPanel>--%>
    
</asp:Content>
